package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 综合行政处罚信息
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_zhxzcf")
@ApiModel(value="ZbAsZhxzcfEntity对象", description="综合行政处罚信息")
public class ZbAsZhxzcfEntity extends Model<ZbAsZhxzcfEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号")
    @TableId(value = "serialNo", type = IdType.AUTO)
    private String serialno;

    @ApiModelProperty(value = "企业名称")
    @TableField("entName")
    private String entname;

    @ApiModelProperty(value = "企业类型")
    @TableField("entType")
    private String enttype;

    @ApiModelProperty(value = "被处罚对象证件类型")
    @TableField("entCerType")
    private String entcertype;

    @ApiModelProperty(value = "被处罚对象证件号码")
    @TableField("entCerNo")
    private String entcerno;

    @ApiModelProperty(value = "数据类型")
    @TableField("dataType")
    private String datatype;

    @ApiModelProperty(value = "决定书文号")
    @TableField("penDecNo")
    private String pendecno;

    @ApiModelProperty(value = "主要违法事实")
    @TableField("illegFact")
    private String illegfact;

    @ApiModelProperty(value = "处罚依据")
    @TableField("penBasis")
    private String penbasis;

    @ApiModelProperty(value = "处罚结果")
    @TableField("penResult")
    private String penresult;

    @ApiModelProperty(value = "处罚决定书")
    @TableField("decisionText")
    private String decisiontext;

    @ApiModelProperty(value = "处罚机关")
    @TableField("penAuth")
    private String penauth;

    @ApiModelProperty(value = "处罚机关类型")
    @TableField("penAuthType")
    private String penauthtype;

    @ApiModelProperty(value = "监管处罚类型")
    @TableField("superVisionType")
    private String supervisiontype;

    @ApiModelProperty(value = "处罚日期")
    @TableField("penDecissDate")
    private String pendecissdate;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "发布日期")
    @TableField("publishDate")
    private String publishdate;

    @ApiModelProperty(value = "公布渠道")
    @TableField("annoChannel")
    private String annochannel;


    @Override
    protected Serializable pkVal() {
        return this.serialno;
    }

}
